package repository

import (
	"context"
	"zxstudy.com/domain/entity"
)

type GroupRepository interface {
	Create(ctx context.Context, group *entity.Group) (*entity.Group, error)
	Get(ctx context.Context, id int) (*entity.Group, error)
	Groups(ctx context.Context) ([]*entity.Group, error)
}